Deleted deprecated writing function.