We should really refactor the helper logic and get them working with both DoctrinePhpcrBundle and phpcr-utils vanilla.