Unifying compression functions.