Un-deleting 'edit hack' function.