Automatically compress the data at generation time.