RecordsController should inherit from APIApplicationController.