Implement ActionController::Base and Application.