Removing irrelevant headers