If function argument is null now a IllegalArgumentException is thrown.
Beginning next major rewrite.
Further process on rewrite.