Refactored `Texture`.