ToricGridWorld now extends Serializable.