Modify modules to accept MessageInfo objects.