Adds preload_owners option to query functions and integrates into core plugins