Implement reading byref variants.