Implement Percolator class.