API revisions to use "fitting" vs. pipe types

Also lots of bug-fixes for post-deletion hooks, fixes for
detachment operations, etc.