Small utilities for use with third-party libraries