[communication] Adds the sb_attach function and mechanisms. Fixes one slight error.