Added null terminator to the payload.