Adding the edit controller.