Refactored quotes into the controller.