Accept arguments for first middleware.
Update documentation.