refactoring: rename StateMachine::addToMany -> StateMachine::addOneToAll