update docs for moved middleware class