Add command arguments validation support. #1