Add ability to explicitly configure.
Change default middleware.