Added Kryo registrations to GraphBuilder again.

Was lost in merge.