Implement method getReferencedAttributes() - see #2.