Gcc cannot handle templates in local classes.
Silence GCC warning about mentioning EXPORT twice.