Added things for using memcache