Added prefix to exported variables in template scope