You'll see errors with classes like `java.lang.Enum` because there is no default generic type. I wonder if we can determine the right generic type