Fixed some typo in sample code
Changed version in comments