Made pool configurable.