edges now have a generic messages field that can be adapted to variables of different types.