We are actually able to retrieve the encoding from the Template class now