Added message type for Document