Adding image cache definition.