Add valueAndReferenceTypes example