Changed fixed poolType codes to be dynamic with the Pool::POOL_TYPES variable