Replace Array with std::vector in notify.{h,cpp}.