Added the REST controller.