Add interface serialization #558