Fixed get & set, to work with latest Rust.