Add mashing state machine.