Added QueryAccess mixin.