Register a new object state.
a character string describing the new state.
an State value for the new state.