remove is_subclass_of ServiceFactory