Make MessageType accessible in browser