remove exposed objects for specs in dist task