Enums are now namespaced. Patched to conform with latest Rust nightly