Added textures support.