CLEANUP: Proper `undefined` checks.