is this the right thing to not need to specify the `class` element in the config?