Add object style queries to PatomicQuery.php