Fix: getDocument()
Merge origin/master