Add enumerations (taken from rust-rosetta.org)