Adds internal sqlalchemy model.