added const to Observer.notify signature