Remove exception catched in Type::getDocument() #687