Add support for reading values from refdata