Serialization constructors should be protected.