remove references to Pool