Fix deprecation of Enumeration::new

Annoying warning I finally agree to tackle