bugfix [to 6d6edeb] : make sure resource_class/resource_class_id is properly autoloaded in Worker