Fix jsdoc errors.
Improve docs on how to use Enum.