Migrate type helper.