enable calling of a hook for the rootnode in the doctrine bridge