Miscellaneous utilities