Implemented pickRandomImpure in terms of pickRandom.