Export some utilty functions.