Added some useful utilities