added ability for other plugins to create events