I'm a bit concerned we use `undefined` as a meaningful value here, why not `null` ?