Updated to Rust 0.6 syntax.