remove XML and GOB message type.