Refer to entity.name instead of service.name in entity service definition dependency