Bring apply-middleware-*'s docstrings up to date with recent changes