Up version of Oni required.
Require state_machine in gemfile.