Added simple get method; updated for latest rustc