Added implementation of support for registrering affected models for a
branch relative to its root.

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