Now resource files are being added when serialization takes place.