Added inputenc
Added PreambleParser.getDocumentClass