Rename Docunet class to Document in order to prevent namespace/class collisions.
Implement getting and setting of enums.