Pensioner class serialisation added.