Tests different depending on debug mode. Not nice, but it'll do for now.
Make event client transition callback api more self-explanitory.