Finally added the ability to work with textures.