Useful collection of common SH functions.