PiSimulation::sample() is now private.
Improved documentation.