left out nsidocument.h in last commit