Throw invalid argument if callback function is null.