Move domready/global to dependencies