Some classes to handle the serialize of the code into strings. This is the base class, so it only defines the serialization interface.