changed typesafeEnumMaxMembers back to 2500