Refactoring. Move cl override code from RevisionWalker to Index.