This should be done - I'm actually emitting the warnings using ``app.warn`` like in the rest of that code.