Fixed bug: Content-type not being attached to messages