Added a specialized Texture 2D class and adapted numerous other classes.