minor tweak to KryoWritable.