Add payload_schema attribute.