Added variable loading of template parameters.
Added variable loading of template parameters.