I'm a bit concerned on this part.
maybe better `environment.add_service(instance)`
I see there are chance, that instance may serve several environments.