Document.new can change _is_new
Utils method to generate random ids
Coding style in Utils