Add auto initialize
Merge pull request #233 from mono/master

Add auto initialize