Moved _notify function to own class