Added register notify if its missing.