Added NSObject isKindOfClasses method and improved asDictionary to process subobjects.