Added a controller adapter for Rack middleware.