Updated Type::getDocument() exception handling + changes.txt #687