Added NSCoding support.