Added documentataion for pool.