strip bogus exports from attrs helper