Use undefined instead of {}, and then inline it
Fix some things `undefined` broke in the optimizer