Store interfaces to an arbitrary class by serializing and adding bytes
as a static field.