Fixed a serialization issue with interaction object.