Added ObjectPool class.