Portal migration code changes.