Handling even more classes with Kryo.