Implement resource pool.