Fixed issue with non root ns classes
Merge pull request #1 from jayarjo/master

Extend override functionality.
Rolled back a few changes that need further review
Add undefined argument to global wrapper.