/**
   * Registers all models, that will then be handled by the ORM.
   *
   * @param models {@link List} of classes inheriting from {@link Model}.
   */
  public void setModels(List<Class<? extends Model>> models) {
    open();

    mDbHelper.setModels(mDb, models);

    close();

    // After all tables have initially been created, run the migrations
    // on them in order to get all of them up to date.
    Model.runMigrations(mContext, models);
  }