Allow wrapped queries