new way to configure toolkit classes with defaults