Support for query reference key