fix(lib): fix fallout of namespaced enums