Adding configuration and connection options for middleware.