Simple notification class for TypeScript