Add metada method to event decorator