PLT-512 Extract Messages class from ArgChecker