Added option to set content type

@stevelacey @tholder :eyes: