Work around https://github.com/pluginaweek/state_machine/issues/295