Future<Map> entitiesFor(Type type) { var entitySupport = registry.lookup(type); entities.putIfAbsent(entitySupport.name, () => {}); return Future.value(entities[entitySupport.name]); }