we really should use the querybuilder here. @dantleech does fromDocument use the phpcr:classparents too or only phpcr:class?