Start refactoring way multiple pools are handled.