Remove getLocalName() invocation