GPII-76: Added support for static middleware.