Accessing the layer of QOF_INSTANCE directly