Adding some event triggers to be used with Tribler integration later.