added support for PHPCR