Add registration methods to KryoSerializer