Adapt variable names to backend rewrite