Make migrations work nicely with swappable models.