Added declaration for removeAllTags method