Some compilers have trouble with importing an enum within a class. 

Fix to import the enclosing class and get at the enum with a
qualified reference.