Make notification handlers extendable

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>