Best practices of services definition