Updated some stuff to make the migrations work again.