Fix torch.class() parsing

torch.class() lines were documented as variables in the main file, badly
parsed at that.