Query functions can now return parent