Split visitor.h in visitor.h and visitor.cpp.