Now we don't have to register handler for command type explicitly. The
test fixture could do the infering.