Added registering of continuations for branches to be invoked on
absorbtion.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>