Fix typos in documentation.

This closes #4518