Added listeners for pop and poppipe.
Merge pull request #2 from yanatan16/patch-listeners

Added listeners for pop and poppipe.