Portability fix: do not use Behaviour>>methods.
On Smalltalk/X it returns a category reader (in order to be able to read Dolphin fileouts):
* use`class methodsDo:` instead of `class methods do:`
* use `class methodDictionary size` instead of `class methods size`