CODE: Refactor IStoneVisitor.