Added the edit controller.