Add function to Graphite to emit events.