Tweak documentation and variable naming.

Signed-off-by: John McCutchan <john@johnmccutchan.com>