handles can't find_by_name errors for smart_variables or smart_class_parameters.