https://github.com/phpcr/phpcr-shell/pull/13/files#r10871931