Adds default image cache class and protocol