Introduced template for notification callbacks

Refs #14, refs #16