Added imports for enum members

[This push](https://github.com/rust-lang/rust/pull/18973) breaks `master`.  This pull request fixes the problem.