More development of immutable enumeration in Swift