Revert the addMethod on Class, kept addClassMethod.

Passes the unit tests.