Adds a small wrapper for textures.