It has a method getKryo you can override.