Added auto-documentation for ring and boolean values, bug fixes
The last commit didn't push