Hard coded old API for textures for now.