Remove unneeded columns.