Small fix $modx->clearCache()