Common utilities.