adapt controllers for RESTv2