Add back hint for crate level attributes
Remove unused name_str_pair method