Moving template instatiations to part of the module.