Updated wrong variable name
Formatting
Changed example version for @stable
Added type of parameters for API methods