Remove unwanted fields.