Implemented message chain checking.