breaking changes: enum namespacing

This also breaks our public API