Refactor/fix statics example.
Add namespacing example.