Fix "Extending" documentation

There's an error in the extending documentation. "cls" was being passed twice.
Merge pull request #31 from skevy/patch-1

Fix "Extending" documentation