Made serializable.