Improve favorites controller.