Implemented a importASTVisitor and a method to use it