added NSCoding.