Replace invalidate by using inherited method