Enumeration reference bug fix.