Replacing "checkNotNull" with "checkArgument".