Speed up of marshaling of NSObjects and NSStrings. (#289)