Added notify method.