remove unused function `import_object`