Fixed erroneous invocation of "self" when "cls" was appropriate
Merge pull request #9 from y-trobinso/master

Fixes a clerical error in #7: "self" should be "cls"