Reflect implicit recursion when using a global template