Use AsEvent from strand
Remove warnings