Actually use the PoolAPI class.