DefaultPropertyType needs to be serializable.