Allow the content type to be set automatically