Method to remove unwanted attributes from SAP parsing.