Added usage of scope for execution of add- and remove observer
transactions.

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