Remove commented out code and register Interger and Double with Kryo