OFValue: Add support for pointers and objects