Makes Reference extend Record and changes the alternate ReferentialText constructor to look for the data-reference attribute for enhancements in order to deserialize the Reference.