Makes Payload properties read only