move general-utility stuff to more generic namespace