Fix strict error in delete() signature