Adding indexes to mongodb.