Some utitlity classes.