Registering a service instance