Autoquery - query functions can now supply the entity along with the component data