adding a service definition.