BufId is made opaque type.
AnnoTypeNum is made opaque type.