Support adding custom logic to initialize fields when workflow context
is deserialized.