Clean up documentation.
Seems to work better to have str first in the vars enum and cast
everything to char *.
More doc cleanup.