Fix migration to opps pattern.