Adding the ability for Document to (quickly) generate uniq numbers.