Texture refactoring.