setupClass is no longer called with this fix.

This uses the wantFunction, wantMethod and wantClass extensions instead. Tests are passing but are not great.