added support for firing const events