Added code to allow creation of ObjectId objects more easily