allow default class and no config