Miscellaneous shared utilities