allow parent/child queries by class