Miscellaneous utilities for pipes