Exporting utils so it can be used in MongoDB scripts.