Moved to embebed type in the controller