Adding @events annotations to ignore list; getting proper resource name in plugin