Fix documentation for  arguments to states.