Reviewed-by: coleenp, stuefe
Check for invalid strings in class names in debug mode, and only verify valid strings in create_for_str(). Reviewed-by: dholmes, hseigel