Added support for boundary events, as of now only signal events are
implemented.