public function getExtension($name, array $params = [], $sanitize = null)
    {
        $result = $this->_getExtensionInternal($name, $params);
        if (!empty($params)) {
            $this->removePlaceholder('params');
        }

        return $this->sanitize($result, $sanitize);
    }