Minor typo fixes in comments.

Fixed typos in raw and regular tag variable comments.
Rename middleware classes.