Removed redundant documentation.
Simplified the way content type is determined.