Use rootlest document client in deprecated method (to avoid confusion related to permissions on the root document)
Merge branch 'master' into 5.6.0