Some utility additions