Switch to NSSecureCoding from NSCoding.