renamed get_message_content_type() to get_content_type()