CommandValidator.validate(..) argument should be configurable