Correct function signatures for class methods.

Class methods still need the first argument to be "self," which at the class level is the class, not the instance.  Or so I would assume.