Added Texture2D classes and factory.