Initialize data structures when using the constructor in addition to just during serialization.