Removing attributes macro