Remove randomness from examples