add remove_extends