You should return `undefined` here if `value` is `undefined`.