Update to rust 0.6 syntax.