Hmm... IIRC isn't there some event emitter for this?