Added a new type attribute to the service definition.