Generalize pool and pool!