Added Serialise and Encrypt generation steps.