Fixes #2258 Unused template