Moved the state definitions for stations into a class method.