Make migration dynamic.

WIP
#113