Adds service definition