BufId is moved to Protocol module.