Minor changes for texturing