Pipeline registrations

That does the thing, but I'll just put a check on forClass.  Makes it easier to implement stubs and such.