Add InvalidArgumentsException to some commands.