Added rest_ methods to ApiController