restore import_optional_interface_api