Merge pull request #2 from dualface/master

merge the official update
fix bug about Registry.newObject
Merge pull request #196 from dabing1022/ChildhoodAndyDev

fix bug about Registry.newObject