Add REST controller.