add remove_all_extends