Moved deserializeinit into separate class