Allow sending an instance of Rusen::Settings to the middleware