Use getPrettyName() rather than getName().