Model migration template optimized.