Added ref-exp datatype and parsing/unparsing