There is a "CCmdTarget" as a inherited class attached to that also, but that class is mainly used in my case to post messages to the window that is logged within that current instance.
I don't know if using an interface here warrants that type of code, there is a constructor for that the CDOCTemplate, but as with most C++ classes, destructors are called, maybe not in this case however.