Changed the templates. Added one for old compilers.