Fixed payload_format attribute error.