Fix for backwards compatability with content_type