Cleanup the way server is used and expose the ability to use other middleware.