Removed remaing dependencies of branch.
Removed branch and related redundant types.

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