Add check for empty arguments.