Non-existent object in State

I already use pattern matching. And it is just showing as warning not as error, so it is not a big show-stopper. It would just be nice to work around these warnings.