Allow providers to override the ContentType property (fixes #372)