Refactor - $modx->makeUrl()