I can set state to a command using the State object, but what is the exact
same paradigm for a handler? In other words how to I set set State or
something similiar to a handler. The handler parameters will not work for
me because they only support strings.