Some usefull utilities.