Various helpful (to me) functions.