Fix broken removeHeaderAttributes
Add destroy method