Added get_template method to class.v_