Added support for `middleware`.