Added index to mongo model.