Would be nice to avoid allocation when it is easy enough. KryoObjectOutput could allow the Kryo instance to be changed.