Create a model for storing pipeline states.
Convert a constant to a class method for testability.