The object constructor does not like the arguments passed to these APIs.
It is FiniteStateLogger that has this method.