Updated Remove-Attributes to use attributes collection