planner: remove "message.type =" shortcut

We don't know whether it is needed for many cases or not for now. So
we remove it for now. If we know that it is needed for many cases, we
will add it again.