Renamed first argument of class method to cls
Merge pull request #2050 from maurycyp/master

Renamed first argument of class method to cls