Fixing PercolationStats API to match requirements.