Add enums nested in generic classes broken