Allow passing context when rendering notifications.