I'm not too sure about that, that's why I didn't add that code (I am too lazy to research right now)..
But I am almost certain it is possible (I think I remember seeing something like that before), but I have never personally done that in any plugins of my own..