Some common utilities.