Made the communication work with ints.