Implement NSCoding protocol methods with ease for RubyMotion.