Added some utilities.