Moved stuff to libstasis.