Moved MediaTypes.

Used MediaType constant from MessageRepository