Fixed issue with private extension methods
Fixed issue causing [NamedValues] enums not to work correctly when used as generic arguments (#256)