moved some visit functions to abstract_importer