Make nsIDocument.h go on a diet