Miscellaneous utilities used by other projects