Merge with branch Epicurus4

Add sequence for CMSG_CAST_SPELL.