Allow Swift to set content type