discovery: add a comment for setPrefix