Probably more correct to replace null with undefined.