add getImports for class