Remove unnecessary materials