Add support for ObjectId in shell.