Check if a component type is registered
bool hasComponent(String type) { return _factories.containsKey(type); }