In that case where is :empty defined, and what's it defined as? I'm not really familiar with StateMachine.