Switch to abstract data types - migrations