would you be open to calling this `withContentType`?
also, it would be my preference to put return types on code within the framework