Rename the Clamp base class to clamp_base to make it look more like SQLAlchemy declarative_base