See comments in that commit. It's a good idea, but needs some further refinement in order to really shine.