Expose MiddlewareStack#unshift to environment configuration.