The backward compatibility toolkit is included so only $this->context->smarty should be needed.