Do not smash classes that only have primitive types