Begin percolation class setup.