Added some helpers methods.