Adds init method on RecordsController.