Ability to use cache methods without $modx->resource