[WIP] added support for PHPCR