Added some argument validation on the add command.