This is great! As somebody who's worked with Extending Visual Studio before, it's always great to have some more code samples to dig through. Outside of simple scenarios, I usually have to decompile the VS dlls to figure out what's going on.
In the past I've also decompiled things to see how they work.