Adds a utility method to Ref and RefTS