Added a Template class