Fixes #458. Enumeration methods shouldn't be treated as a static C-style function calls since it doesn't initialize the enumeration.