Improved content type detection routine documentation.
Tidy.