Minor documentation and variable renaming.