Allows default model class to be configured