Ruby extension: renamed global pool to generated pool.