avoid expensive class loading in resource bundles