Added onBegin listeners