Makes migration work