Cache warming: Fix various errors.