(fix) Update for namespaced enums and libsyntax changes.