Use the newly introduced serializer classes.

Make the member fields in Holder constants and protected so they are visible for specialization classes (as Holder class itself).