Add clean method to tex module