Moved pooling into adapter base class.