Moved notifications to prototype c