Replace `FromStr::from_str` usage with `from_str`.