Update enum code to satisfy Swift 1.1 raw value syntax.