Added some utils that will be of use later.