Get rid of unnecessary traits