Set entities by returning them at the end of the methods