Miscellaneous conveniance functions