Refactor output methods in Notification service to accept format and args.