Added the support for textures