Be compatible with mid/appmsgid.