Re-added cofh API and hopefully fixed all the texture issues.