Added listeners for pop and poppipe.