Update API reference
Fix variable passed by ref error
Merge branch '1.0/develop'