Allow default model base class to be configured