Pool refactor.