Add digest support.