More idiomatic Rust.