Very very bad implementation of raising non-standard events.