Moves status codes to enumerated type.