Simplified, now that null and undefined are discarded.