Add cache factory contract.