Remove the stuffs that are supposed to be ignored.