Document check and message classes