Added api controller.