Rename resolve_import to resolve_import_path
Remove unused method