avoid unneeded getDoc(0) + normalize private var names
Authored by: dockes 2005-12-05
Parent(s): [55df39]
Child(ren): [6f3c58]