Extensions to RefName class