Remove useless fields.