Added some util functions.