remove constructors and handle setting currentDefinition/currentModule in AbstractVisitor visitors