Converting private define-generics to fit with abstracted-out method tables.

This work is unfinished, uncompiled, and untested.
The generic-methods module needs to change; its assumptions about hygiene are
not consistent with the stream and dict generics.