Adding handler pattern in BagIt service.