Write Cache\Memcache, added declaration for setInstance