Fixed doc issues (varname typos). Regenerated the embedded docs.