I think the check for `isLocalName` is not needed - we are swapping them all out, so we can re-use them. But, it will be of low benefit. Please just add a comment here `// TODO: we can probably remove !isLocalName` or such