added CMemCache compatibility