Removing attributes in the preprocess script.