Update due to EventsMgr improvement

Added examples on how to use register template function