public function delete()
    {
        try {
            $this->getSoapClient()->DeleteTemplate(array(
                'filename' => basename($this->getName())
            ));

            return $this;
        } catch ( SoapException $ex ) {
            throw new DeleteException('Error while deleting the remote template from Livedocx service' , $ex);
        }
    }