Removed delete field function, as it's not used.