GenBCode: cleanup optimizations

Method-level cleanup optimizations.

See individual commit messages.
Ah, just found the `object Collections extends Collections`