Added stubs and javadocs for visitor