Updated protocol lib.