Move pipe classes to our own registry.

TODO remove the BC class registration for 1.7.