Stats controller abstraction (api_controller not working).