Added imports for members of enums

[This push](https://github.com/rust-lang/rust/pull/18973) requires that all used members of an `enum` are imported, breaking `master`.  This pull request fixes this problem.