replica prototype
add prototype for instance
Merge pull request #2 from fengjingchao/dev

Dev