Some minor cleanup to code in kryo.
Add more javadoc.
Reduce List creation in kryo.