Remove superfluous code that makes deserialization fail for no good reason