PLT-512 Extract Messages class from ArgChecker

Fix build failure
Fix from PR