Consider moving `change_type` initialization here from comment line above