Just thinking... should we perhaps adopt DOM API conventions and return `null` instead of `undefined`?
I do not have a strong opinion, but would be nice for consistency.