Try template declaration scope for FuncExp.