Add notificationcenter messaging for code refactoring