Added NSCoding and Autolayout