Affirmed in part, vacated in part, and remanded by published opinion. Judge KING wrote the majority opinion, in which Judge AGEE joined. Judge FLOYD wrote a dissenting opinion.'
KING, Circuit Judge:Dora Beltrán — also referred to as D.B. — appeals the district court’s denial of her petition for a writ of habeas corpus, seeking relief as next friend of R.M.B., her minor son. R.M.B., a native of Guatemala, is being held as an unaccompanied alien child (a “UAC”) by the Office of Refugee Resettlement (the “Office”), an agency of the Department of Health and Human Services (the “DHHS”). The Office has declined to release R.M.B. to his mother because it deems her incapable of providing for his physical and mental well-being. Beltrán maintains that the Office lacks statutory authority to detain R.M.B., and that his detention also contravenes substantive and procedural due process. By decision of August 5, 2015, the district court rejected Beltrán’s statutory and constitutional claims and denied her request for habeas corpus relief. See D.B. v. Poston, 119 F.Supp.3d 472 (E.D. Va. 2015) (the “Opinion”). As explained below, we affirm in part, vacate in part, and remand.
I.
A.
We draw the pertinent facts with respect to this proceeding from the district court’s Opinion and other aspects of the record.1 R.M.B. was born in Guatemala in February 1999. In 2005, at the age of six, he left Guatemala with his mother and three siblings and illegally entered the United States. Beltrán and her children settled in Rio Bravo, Texas, near the Mexican border. Soon thereafter, Beltrán married a man who was either a citizen or a lawful permanent resident of this country.
Because Beltrán’s husband physically abused her on a regular basis, she filed a petition with the U.S. Citizenship and Immigration Services (the “USCIS”), seeking classification as the spouse of an abusive citizen or lawful permanent resident — a type of relief authorized by the Violence Against Women Act (the “VAWA”). Bel-trán’s VAWA petition was approved by the USCIS in September 2012. In February 2013, the USCIS granted deferred action to R.M.B. as a derivative beneficiary *726of his mother’s VAWA petition. See J.A. 25-26 (explaining that deferred action “is an administrative choice to give some cases lower priority for removal,” and that the USCIS did not then anticipate pursuing removal proceedings against R.M.B.).2 According to Beltrán, she was thereafter granted an adjustment of status by the USCIS and became a lawful permanent resident. R.M.B.’s immigration status, however, was never adjusted. On May 6, 2015, his deferred action was extended through April 6, 2016.
R.M.B. has had a difficult upbringing. For example, he witnessed his step-father physically abusing his mother on multiple occasions. In December 2012, the State of Texas removed Beltran’s children from her custody after she left them at home alone. Five months later, in May 2013, a Texas court restored custody to Beltrán.
R.M.B. exhibited serious behavioral problems while the family lived in Rio Bravo. During the period from 2011 to 2013, he was arrested on multiple occasions. In July 2012, he was found guilty by a state juvenile court of making a terroristic threat and placed on probation. He also ran away from home several times. R.M.B. used alcohol and tobacco at ten or eleven years of age, marijuana by twelve, and hard drugs by fourteen. R.M.B. has admitted being involved with gangs, as well as smuggling drugs and immigrants across the Mexican border. He advised a psychologist that he has carried a gun and on one occasion shot and killed a man.
Hoping that a new environment would improve R.M.B.’s behavior, Beltrán moved her family in July 2013 about 160 miles from Rio Bravo to Corpus Christi, Texas. In approximately October 2013, however, R.M.B. (then fourteen years old) ran away from their Corpus Christi home and returned to Rio Bravo, where he found a job smuggling undocumented immigrants from the Mexican border to McAllen, Texas.
On December 15, 2013, Border Patrol agents arrested R.M.B. in Rio Grande City, Texas, near the Mexican border. R.M.B. told one of the agents that he was waiting to pick up a group of undocumented immigrants. The agent allowed R.M.B. to call his mother, who told him to “remind the agent that he had VAWA.” See J.A. 71. According to the agent, R.M.B. “displayed a bad attitude towards his mother over the phone” and hung up on her. See J.A.S. 45. During the phone call, Beltrán also spoke with the Border Patrol agent, advising him that she and R.M.B. “had VAWA and that we were filling out the papers and doing the other things we needed to do to become permanent residents.” See J.A. 71. Beltrán emphasized that she “had immigration papers that would prove all of this.” Id. The agent directed Beltrán to look for her papers and said he would call back in about fifteen minutes. Beltrán found the papers, got in her car, and began driving from Corpus Christi to Rio Grande City. She had driven thirty or forty miles when the Border Patrol agent called back. The agent told Bel-trán to return home because the Border Patrol had decided to detain R.M.B. and send him to a youth shelter. When Beltrán insisted that she had the appropriate papers, the Border Patrol agent threatened to arrest her if she showed up. As a result, Beltrán returned to Corpus Christi.
Shortly after R.M.B.’s December 15, 2013 arrest, the Border Patrol decided that he was a UAC. The relevant statute underlying that determination, found at § 279 of Title 6, defines a UAC as a child who:
*727(A) has no lawful immigration status in the United States;
(B) has not attained 18 years of age; and
(C) with respect to whom—
(i) there is no parent or legal guardian in the United States; or
(ii) no parent or legal guardian in the United States is available to provide care and physical custody.
See 6 U.S.C. § 279(g)(2) (the “UAC definition”). Pursuant to its UAC finding, the Border Patrol transferred R.M.B.’s custody to the Office — as the agency responsible for providing care and custody of all UACs — and initiated removal proceedings against him.
Since his transfer to the Office’s custody in late 2013, R.M.B. has been housed in seven different care provider facilities in five states. While in the Office’s custody, R.M.B.’s behavioral problems have continued. He has, for example, fought with facility employees and residents and engaged in sexually aggressive behavior toward staff members. R.M.B. has also exhibited self-harming behavior and expressed suicidal thoughts. On one occasion, he briefly escaped from the Office’s custody by kicking out the window of a transport van.
In about January 2014, Beltran submitted a family reunification request to the Office, asking for R.M.B.’s release to her custody. The Office promptly ordered a home study, after determining that one was necessary to properly evaluate Bel-tran’s reunification request. The home study recommended against releasing R.M.B. to Beltran, concluding that her home did “not appear to be a safe and stable environment by evidence of [Bel-tran’s] abusive relationship with her spouse.” See J.A.S. 68. R.M.B., the home study related, had “an extensive history of substance abuse and criminal history” and posed “a high risk of recidivism.” Id. The home study also observed that Beltran was unable to provide a safety plan for R.M.B.
Consistent with those recommendations, the Office, by letter of March 12, 2014, denied Beltran’s family reunification request. The denial letter explained that, prior to releasing a UAC, the Office must “determine that the proposed custodian is capable of providing for the [UAC’s] physical and mental well-being.” See J.A.S. 88. That obligation arises from a statute which provides, in relevant part, that a UAC “may not be placed with a person or entity unless the [DHHS Secretary] makes a determination that the proposed custodian is capable of providing for the child’s physical and mental well-being.” See 8 U.S.C. § 1232(c)(3)(A) (the “suitable custodian requirement”).
The Office’s letter gave two reasons for denying Beltran’s family reunification request: that R.M.B. “requires an environment with a high level of supervision and structure”; and that, based on the home study, “it does not appear ... that your home can provide the structure and supervision necessary for the safety of your son.” See J.A.S. 88. The denial letter also advised Beltran that she could seek reconsideration of the Office’s decision by submitting a request within thirty days to the DHHS Assistant Secretary for Children and Families, Mark Greenberg.3
On March 11, 2015, Beltran sent a request for reconsideration to the Office, asserting that R.M.B.’s continuing detention was unlawful and demanding his release. Subsequently, on April 15, 2015, R.M.B. *728appeared in immigration court for the first time since his removal proceedings had been instituted. The immigration judge terminated the removal proceedings against R.M.B. because he had already been granted deferred action.
B.
On June 12, 2015, Beltrán, as R.M.B.’s next friend, filed her petition for habeas corpus in the Eastern District of Virginia, pursuant to 28 U.S.C. § 2241. The petition named three respondents: Darryl Poston, Director of the Northern Virginia Juvenile Detention Facility, where R.M.B. was being housed; Office Director Robert Carey; and DHHS Secretary Sylvia Burwell. On June 17, 2015, in accordance with 28 U.S.C. § 2243, the district court ordered that the petition be served on the respondents and directed them to show cause why a writ should not issue.4
On July 10, 2015 — after Beltrán filed her habeas corpus petition — Assistant Secretary Greenberg denied Beltran’s request for reconsideration. Greenberg’s letter explained that he agreed with the Office’s conclusion that R.M.B. “should not be released due to the concerns and necessity to provide structure and supervision given your son’s needs and welfare.” See J.A.S. 90. In support of that conclusion, the letter relied, inter alia, on a May 25, 2015 psy-chosexual risk assessment, which concluded that R.M.B. “appears to be a Moderate-Risk to continue engaging in sexual offending behaviors and a Moderate-High Risk to continue engaging in non-sexual offenses.” Id. at 85. The July 10 letter also rejected Beltrán’s contention that, because she had been available to take custody of R.M.B. when the Border Patrol detained him, R.M.B. failed to satisfy the UAG definition.
On July 17, 2015, the government filed its response to Beltrán’s habeas corpus petition, urging the district court to deny it. The government submitted several exhibits in support of its response, including (under seal) the home study report, the psychosexual risk assessment, and a psychological evaluation dated June 15, 2014.
C.
On August 5, 2015, the district court denied Beltrán’s habeas corpus petition for the reasons explained in its Opinion. The Opinion began by reciting “findings of fact” that the court deemed undisputed and predicated on the record, “unless otherwise noted.” See D.B., 119 F.Supp.3d at 474. The Opinion observed that there was “no motion currently pending before” the court, but that the parties had submitted “sworn affidavits and documentary evidence in favor of their respective positions,” and that each party had requested a “summary disposition” of the petition. Id. at 474 n. 2. Accordingly, the Opinion explained that the court would make findings of fact after considering “the material in the record and the oral argument of counsel, just as it would if the matter were before the Court on summary judgment.” Id.5
*729i.
The district court first addressed Bel-tran’s statutory contentions, beginning with the assertion that the Office lacked authority to detain R.M.B. because he did not satisfy the UAC definition. The Opinion explained that it was uncontested that R.M.B. satisfies the first two elements of that definition, in that he has no lawful immigration status and has not yet attained eighteen years of age. Only the third element — whether, “as initially decided by” the Border Patrol, R.M.B. has “no parent or legal guardian in the United States available to provide care and physical custody” — was at issue. See D.B., 119 F.Supp.3d at 480; see also 6 U.S.C. § 279(g)(2)(C)(ii). The Opinion then recognized that the Border Patrol agents “determined, within their discretion, that [he] met the definition of a UAC.” See D.B., 119 F.Supp.3d at 482.
The Opinion ruled that Beltran’s disagreement with the Border Patrol’s UAC determination was “not cognizable for ha-beas relief,” because § 2241 “is not the proper vehicle to challenge discretionary federal agency action.” See D.B., 119 F.Supp.3d at 482. The Opinion also concluded that, “once R.M.B. was classified as a UAC by [Border Patrol] field officers,” the Office had no authority to release him to anyone unless it first determined, under the suitable custodian requirement, that the proposed custodian was capable of providing for R.M.B.’s physical and mental well-being. Id. at 483 (citing 8 U.S.C. § 1232(c)(3)(A)).
The district court next addressed and rejected Beltran’s position that the Office lost custodial authority over R.M.B. when his removal proceedings terminated. In that regard, the Opinion observed that Beltran’s argument relied “on a false premise, i.e., that R.M.B. is in ‘immigration detention.’ ” See D.B., 119 F.Supp.3d at 485. The Opinion also reiterated that the Office was precluded by statute from releasing R.M.B. to anyone unless it first determined that the proposed new custodian was capable of providing for his physical and mental well-being.
2.
Having rejected Beltran’s statutory claims, the district court addressed and also rejected her substantive and procedural due process claims, “in light of the Supreme Court’s holding in Reno v. Flores, 507 U.S. 292, 113 S.Ct. 1439, 123 L.Ed.2d 1 (1993).” See IXB., 119 F.Supp.3d at 486. As the Opinion explained, Flores involved a challenge to a regulation of the Immigration and Naturalization Service (the “INS”) providing for the release of juvenile aliens, detained on suspicion of deportability, “only to their parents, close relatives, or legal guardians, except in unusual and compelling circumstances.” Id. (citing Flores, 507 U.S. at 294-99, 113 S.Ct. 1439). The Flores plaintiffs had contended that the INS regulation facially contravened both substantive and procedural due process. The Supreme Court readily rejected the substantive due process challenge, ruling that an alien child with no available parent, guardian, or close relative was not constitutionally entitled to be released to the custody of an unrelated adult, rather than placed in a childcare institution selected or operated by the government. See Flores, 507 U.S. at 304-05, 113 S.Ct. 1439.
*730In its Opinion, the district court acknowledged that R.M.B.’s case is distinguishable from Flores, in that Beltran is seeking the release of her own son — not an unrelated child — and contends she is available to take custody of R.M.B. See D.B., 119 F.Supp.3d at 487. The Opinion underscored, however, that the authorities had determined, in their discretion “and either rightly or wrongly, but in accordance with statute, that R.M.B. is an alien child that has no available parent.” Id. Accordingly, the Opinion characterized the “right at issue” as
the alleged right of an alien child who has no available parent, close relative, or legal guardian, as determined by the federal government, and for whom the government is responsible, to nonetheless be placed in the custody of his parent, who cannot, at this time, properly care for his mental and physical needs.
Id. The Opinion then determined that the alleged right was not a fundamental one, that the Border Patrol’s UAC determination was rational, and thus that no deprivation of substantive due process had occurred. See id.
Turning to Beltrán’s procedural due process claim, the Opinion explained that, in Flores, the Supreme Court “held that the juvenile aliens’ demand for an individualized custody hearing was merely the ‘substantive due process’ argument recast in procedural terms,” and “found that due process was satisfied by giving the detained alien juveniles the right to a hearing before an immigration judge.” See D.B., 119 F.Supp.3d at 487 (citing Flores, 507 U.S. at 307-09, 113 S.Ct. 1439). The Opinion reasoned that “R.M.B. was afforded the same right to a hearing before an immigration judge, where his immigration proceedings were terminated.” Id. Finally, the Opinion ruled that the mechanism in place for seeking family reunification provided sufficient procedural safeguards to “satisffy] any constitutional scrutiny.” Id. at 488. Accordingly, the district-court denied Beltrán’s habeas corpus petition.
On August 27, 2015, Beltrán noted this appeal from the district court’s judgment. We possess jurisdiction pursuant to 28 U.S.C. § 1291.6
II.
In addition to Beltrán’s statutory and constitutional contentions, this appeal presents issues concerning jurisdiction and the proper scope of review under 28 U.S.C. § 2241. The government maintains that Beltrán’s petition sought judicial review of discretionary and factual decisions of administrative agencies — in particular, the Border Patrol’s initial determination that R.M.B. was a UAC and the Office’s denial of family reunification — that are not subject to challenge by way of habeas corpus. Beltrán answers that her contentions involve questions of statutory interpretation and constitutional rights that are cognizable under § 2241. Specifically, she maintains that R.M.B. is not a UAC as a matter of federal law, that the Office lacks statutory authority to detain UACs after their immigration proceedings have terminated, and that R.M.B.’s continuing detention contravenes substantive and procedural due process.
*731Section 2241 of Title 28, the general habeas corpus statute, provides that ha-beas corpus relief can extend to several classes of persons, including those “in custody under or by color of the authority of the United States” and those “in custody in violation of the Constitution or laws or treaties of the United States.” See 28 U.S.C. § 2241(c)(1), (3). It is undisputed that R.M.B. is “in custody” under the authority of the United States. Moreover, Beltran’s petition alleges that R.M.B.’s custody is in violation of federal statutes and the Constitution. Accordingly, we are satisfied that subject matter jurisdiction exists with respect to Beltran’s § 2241 petition.
We are also of the view that the issues pursued by Beltran, on behalf of her son, are properly within the scope of this habeas corpus proceeding. Beltran contends that the Office is holding R.M.B. pursuant to “the erroneous application or interpretation” of applicable statutes. See Boumediene v. Bush, 553 U.S. 723, 779, 128 S.Ct. 2229, 171 L.Ed.2d 41 (2008) (internal quotation marks omitted) (observing that it is “uncontroversial” that such statutory claims are cognizable in habeas corpus proceedings). She also maintains that her son’s detention contravenes the Fifth Amendment’s Due Process Clause. See Fay v. Noia, 372 U.S. 391, 402, 83 S.Ct. 822, 9 L.Ed.2d 837 (1963) (“[T]here is-nothing novel in the fact that today habeas corpus in the federal courts provides a mode for the redress of denials of due process of law.”), overruled in part on other grounds by Wainwright v. Sykes, 433 U.S. 72, 97 S.Ct. 2497, 53 L.Ed.2d 594 (1977). Beltran’s contentions therefore fall within the traditional scope of § 2241 ha-beas corpus review.7
III.
Being satisfied that we possess jurisdiction, we first proceed to the merits of Beltran’s statutory contentions. We review the district court’s factual findings for clear error and its legal conclusions de novo. See supra note 5 (citing Billings v. Polk, 441 F.3d 238, 243 (4th Cir. 2006)).
A.
The care and custody of UACs by the government is governed by a legal framework consisting primarily of two statutory provisions — § 279 of Title 6 and § 1232 of Title 8 — plus a settlement agreement that is binding on the pertinent federal agencies. At the outset of our discussion, we identify relevant aspects of that framework, as well as some historical context.
1.
Prior to 2003, the INS was charged with the care and custody of alien children who *732were arrested in this country on suspicion of being deportable, and who had no responsible parent or legal guardian. The INS, an arm of the Department of Justice, was also responsible for prosecuting removal proceedings against such children in the immigration courts.
In 1985, several juvenile aliens in INS custody initiated a class action in the Central District of California challenging INS policies regarding the detention of alien children. That litigation wound its way through the federal court system — including the Supreme Court, see Reno v. Flores, 507 U.S. 292, 113 S.Ct. 1439, 123 L.Ed.2d 1 (1993) — for twelve years before the parties entered into a court-approved settlement agreement in 1997 (the “Flores Agreement”). The Flores Agreement established a “nationwide policy for the detention, release, and treatment of minors in the custody of the INS.” See Flores Agreement ¶ 9. The Agreement is binding on all successor agencies to the INS, including the Office — subject, of course, to changes in the applicable statutes.8
The Flores Agreement spells out a general policy favoring less restrictive placements of alien children (rather than more restrictive ones) and their release (rather than detention). The Agreement contemplates that, unless detention is necessary to ensure a child’s safety or his appearance in immigration court, he must be released “without unnecessary delay,” preferably to a parent or legal guardian. See Flores Agreement ¶ 14. The appropriate agency may, however, require a “positive suitability assessment” before releasing the child to the custody of any individual or program. Id. ¶ 17.
The Flores Agreement specifies that, when an alien child is not released, he ordinarily should “be placed temporarily in a licensed program until such time as release can be effected ... or until [his] immigration proceedings are concluded, whichever occurs earlier.” See Flores Agreement ¶ 19. The child may be detained in a secure facility only under specified limited circumstances, and then only when no less restrictive alternative is “available and appropriate.” Id. ¶¶ 21, 23.
2.
In November 2002, Congress and the President enacted the Homeland Security Act (the “HSA”), which “brought under a single umbrella” most of the federal agencies responsible for securing the border- and administering the immigration laws. See Tabbaa v. Chertoff, 509 F.3d 89, 92 (2d Cir. 2007). The HSA abolished the INS and transferred most of its functions to agencies within the newly created Department of Homeland Security (the “DHS”), including the Border Patrol. The HSA carved out of that general transfer to the DHS the “functions under the immigration laws ... with respect to the care of [UACs] that were vested by statute in, or performed by, the [INS].” See 6 U.S.C. § 279(a). All functions with respect to the care and custody of UACs were transferred instead to the Office, as an agency of the DHHS.Id.
The HSA also created the UAC definition. See 6 U.S.C. § 279(g)(2). First, to qualify as a UAC, an individual must have “no lawful immigration status in the United States.” Id. § 279(g)(2)(A). Second, the individual must be under the age of eigh*733teen. See id. § 279(g)(2)(B). And third, the alien child must have either (i) “no parent or legal guardian in the United States”; or (ii) “no parent or legal guardian in the United States ... available to provide care and physical custody.” Id. § 279(g)(2)(C).
The functions transferred to the Office include making and implementing “placement determinations for all [UACs] who are in Federal custody by reason of their immigration status.” See 6 U.S.C. § 279(b)(l)(A)-(E). In making such determinations, the Office is required to consult with juvenile justice professionals and relevant DHS officials, in order to ensure that UACs appear at immigration proceedings; that UACs are protected from “smugglers, traffickers, or others who might seek to victimize or otherwise engage them in criminal, harmful, or exploitive activity”; and that UACs are not likely to pose a danger to themselves or others. Id. § 279(b)(2)(A). Finally, although the Office is charged with the care, custody, and placement of UACs, the responsibility for making immigration benefit determinations — such as asylum, naturalization, and adjustment of status — rests with appropriate officials within the DHS, the Department of Justice, and the State Department. See id. § 279(c).
3.
In 2008, six years after the HSA was enacted, Congress modified the statutes concerning UACs by adoption of the William Wilberforce Trafficking Victims Protection Reauthorization Act of 2008 (the “Wilberforce Act”). The provisions relating to UACs are found in § 235 of the Wilberforce Act, most of which are codified at 8 U.S.C. § 1232. Congress therein reiterated that responsibility for “the care and custody of all [UACs], including responsibility for their detention, where appropriate,” rests with the DHHS Secretary. See 8 U.S.C. § 1232(b)(1). Any other federal agency holding a UAC is duty-bound to “transfer the custody of such child” to the Office “not later than 72 hours after determining that such child is” a UAC. Id. § 1232(b)(3).9
The Wilberforce Act contained provisions governing the placement of UACs who are in the Office’s custody. For example, the Office shall “promptly” place a UAC “in the least restrictive setting that is in the [UAC’s] best interest,” subject to the need to ensure the UAC’s safety and timely appearance at immigration hearings. See 8 U.S.C. § 1232(c)(2)(A). The Office “shall not” place a UAC in a secure facility “absent a determination that the [UAC] poses a danger to self or others or has been charged with having committed a criminal offense.” Id. In addition, the Office must review on a monthly basis any placement of a UAC in a secure facility. See id.
The Wilberforce Act also delineated when the Office can release a UAC to the custody of a third party. In particular, pursuant to the suitable custodian requirement, the Office “may not” place a UAC with a person or entity without first making “a determination that the proposed custodian is capable of providing for the [UAC’s] physical and mental well-being.” See 8 U.S.C. § 1232(c)(3)(A). Furthermore, “[b]efore placing the [UAC] with an individual,” the Office must determine whether a home study is necessary. Id. *734§ 1232(c)(3)(B). Conducting a home study is mandatory in some circumstances, including for any UAC “whose proposed sponsor clearly presents a risk of abuse, maltreatment, exploitation, or trafficking to the child.” Id.
B.
Beltrán’s first statutory contention is that the Office lacks the authority to detain R.M.B. because, as a matter of law, he neither is nor has ever been a UAC. Specifically, Beltrán contends that R.M.B. is not a UAC because she was and is “available to provide care and physical custody” to him within the meaning of the UAC definition. See 6 U.S.C. § 279(g)(2)(C)(ii). In particular, Beltrán insists that the term “available” simply means “easy or possible to get or use,” and that the UAC definition thus does not include an assessment of a parent’s fitness or suitability as a custodian. See Br. of Appellant 19 (internal quotation marks omitted).
As always, “[t]he starting point for any issue of statutory interpretation ... is the language of the statute itself.” See United States v. Bly, 510 F.3d 453, 460 (4th Cir. 2007). If “the language at issue has a plain and unambiguous meaning with regard to the particular dispute,” that meaning controls. Id. (internal quotation marks omitted). Critically, the UAC definition does not refer, as Beltrán suggests, to a parent’s availability in a general sense. Rather, it asks whether a parent is “available to provide care and physical custody.” See 6 U.S.C. § 279(g)(2)(C)(ii) (emphasis added). The word “care” generally means “[t]he provision of what is necessary for the health, welfare, maintenance, and protection of someone or something.” See The New Oxford American Dictionary 258 (8th ed. 2004). Consequently, to be “available to provide care” for a child, a parent must be available to provide what is necessary for the child’s health, welfare, maintenance, and protection. And a parent who is not “capable of providing for the child’s physical and mental well-being” — as mandated by the suitable custodian requirement of 8 U.S.C. § 1232(c)(3)(A) — is not available to provide what is necessary for the child’s health, welfare, maintenance, and protection.
In these circumstances, we are unable to conclude as a matter of law that R.M.B. is not a UAC. The Office found, after conducting a home study and gathering other evidence, that Beltrán was incapable of providing for R.M.B.’s physical and mental well-being. In her reply brief, Beltrán insists that she is not seeking review of the Office’s finding that she is not a suitable custodian, even though she “unequivocally disputes” that finding and contends that the procedures utilized to reach it were unfair. See Reply Br. of Appellant 27. Because the Office’s unsuitability finding establishes that Beltrán is not available to provide care and physical custody of R.M.B., we cannot say that R.M.B.’s detention is based on an erroneous application or interpretation of the UAC definition. We therefore reject Beltrán’s first statutory contention.10
*735C.
Beltran’s second statutory contention is that the Office lacks authority to detain R.M.B. now that his immigration proceedings have terminated. Concomitantly, Beltran asserts that the Flores Agreement bars the detention of R.M.B. by the Office upon termination of those proceedings. In response, the government maintains that the suitable custodian requirement precludes the Office from releasing a UAC to an unsuitable custodian even though the child’s immigration proceedings have concluded. It also contends that, to the extent the Flores Agreement bars the detention of a UAC after his immigration proceedings have concluded, the Agreement was superseded in 2008 when the suitable custodian requirement was enacted.
1.
Read in isolation, the suitable custodian requirement is clear: a UAC “may not be placed with a person or entity unless the [Office] makes a determination that the proposed custodian is capable of providing for the [UAC’s] physical and mental well-being.” See 8 U.S.C. § 1232(c)(3)(A). Bel-tran contends, however, that other parts of the statutory scheme, as well as the Flores Agreement, limit the authority of the Office over UACs to those involved in pending immigration proceedings. She therefore maintains that the suitable custodian requirement is inapplicable to those UACs — such as R.M.B. — who are not involved in such proceedings.
Beltran is correct that, as a general proposition, an alien may not be detained after his immigration proceedings have terminated. See 8 U.S.C. § 1226(a) (“On a warrant issued by the Attorney General, an alien may be arrested and detained pending a decision on whether the alien is to be removed from the United States.”). • The Flores Agreement also recognizes that, generally speaking, the detention of an alien child must end when immigration proceedings terminate. See Flores Agreement ¶ 19 (providing that, if the INS does not release a minor, the minor “shall remain in INS legal custody ... until such time as release can be effected ... or until the minor’s immigration proceedings are concluded, whichever occurs earlier”).
As a rule of statutory construction, however, the specific terms of a statutory scheme govern the general ones. See RadLAX Gateway Hotel, LLC v. Amalgamated Bank, — U.S. -, 132 S.Ct. 2065, 2071, 182 L.Ed.2d 967 (2012). The general-specific rule is particularly applicable where “Congress has enacted a comprehensive scheme and has deliberately targeted specific problems with specific solutions,” id. (internal quotation marks omitted), as it has done in the immigration context.
Moreover, the general-specific rule is “perhaps most frequently applied to statutes in which a general permission or prohibition is contradicted by a specific prohibition. or permission.” See RadLAX, 132 S.Ct. at 2071. This proceeding presents such a contradiction. On the one hand, 8 U.S.C. § 1226(a) confers general authority — on the Office with respect to UACs, and on the DHS otherwise — to detain aliens only during the pendency of immigration proceedings.11 On the other hand, *736the suitable custodian requirement imposes on the Office a specific prohibition against releasing UACs to unsuitable custodians: Thus, in order to “eliminate the contradiction,” we are obliged to construe the suitable custodian requirement “as an exception to” the general rule that an alien’s detention ends when his immigration proceedings are terminated. Id.12
2.
The general-specific rule of statutory construction, like other interpretive canons, can be overcome by sufficient indications of a contrary legislative intent. See S.C. Dep’t of Health & Envt’l Control v. Commerce & Indus. Ins. Co., 372 F.3d 245, 258 (4th Cir. 2004). To overcome the presumption that a specific statutory provision controls a general one, Congress’s contrary intent must be “clear.” See Crawford Fitting Co. v. J.T. Gibbons, Inc., 482 U.S. 437, 445, 107 S.Ct. 2494, 96 L.Ed.2d 385 (1987). We employ the customary tools of construction to determine whether a clear intent exists, interpreting relevant statutory terms “not in a vacuum, but with reference to the statutory context, structure, history, and purpose.” See Abramski v. United States, — U.S. -, 134 S.Ct. 2259, 2267, 189 L.Ed.2d 262 (2014) (internal quotation marks omitted).
a.
To support her contention that the suitable custodian requirement does not apply to a UAC who, like R.M.B., is not in immigration proceedings, Beltrán relies on a number of statutory provisions. First, she emphasizes provisions of the HSA defining the scope of the Office’s authority, starting with its transfer from the INS to the Office of the “functions under the immigration laws ... with respect to” UACs. See 6 U.S.C. § 279(a). Beltrán maintains that detaining alien children after the termination of immigration proceedings was never a function of the INS under the immigration laws. She also emphasizes that two of the duties transferred to the Office are defined in terms of UACs “who are in Federal custody by reason of their immigration status.” Id. § 279(b)(1)(A), (C). Beltrán argues that the phrase “by reason of their immigration status” suggests that Congress understood that UACs would be detained only while their immigration proceedings were pending. Finally, Beltrán emphasizes the HSA’s general savings provisions, codified at 6 U.S.C. § 552. Subsection (a) of § 552 provides, inter alia, that “completed administrative actions” — a term that encompasses settlement agreements like the Flores Agreement — “shall not be affected by the enactment of [the HSA] ..., but shall continue in effect ... until amended, modified, superseded, terminated, set aside, or revoked in accordance with law.” See also 6 U.S.C. § 279(f)(2) (confirming that § 552(a) savings provision applies to transfer of functions from INS to Office “in the same *737manner” as it applies to transfer of functions from INS to DHS agencies).
The foregoing provisions support the argument that the authority the HSA transferred to the Office did not include custodial authority over UACs not involved in immigration proceedings. As such, they create the tension between 8 U.S.C. § 1226(a), which limits detention to the pendency of immigration proceedings, and the suitable custodian requirement, which precludes the Office from releasing a UAC to an unsuitable custodian. The HSA provisions, however, provide little guidance on how that tension should be resolved. The HSA’s transfer-of-authority provisions were enacted in 2002 — six years before the suitable custodian requirement became law. For that reason alone, the transfer-of-authority provisions do not reveal Congress’s intent with respect to the suitable custodian requirement. Moreover, that Congress saw fit to alter provisions governing UACs just six years after the HSA’s enactment suggests that Congress was not entirely satisfied with the existing statutory scheme.
Beltrán also maintains, however, that other provisions in 8 U.S.C. § 1232 — enacted contemporaneously with the suitable custodian requirement in 2008 — show that Congress did not intend to authorize the continued detention of UACs after the conclusion of their immigration proceedings. In particular, she contends that, because § 1232(b)(1) delegates the “care and custody” of UACs to the Office “[cjonsistent with section 279 of Title 6,” and because § 279 does not permit the detention of UACs after immigration proceedings have concluded, such detentions cannot be authorized by § 1232. Beltrán further argues that § 1232(c)(3)(B)’s mandate that the Office “conduct follow-up services, during the pendency of removal proceedings, on children for whom a home study was conducted,” demonstrates Congress’s intent that the Office, like the INS before it, is entitled to detain UACs only while immigration proceedings are ongoing.
In our view, the provisions of § 1232 invoked by Beltrán fail to overcome the presumption created by the general-specific rule. First, in § 1232(b)(1), the phrase “[consistent with section 279 of Title 6” does not qualify or limit the grant to the Office of “responsibility” for “the care and custody of all” UACs. Rather, that phrase simply reflects Congress’s recognition that the responsibility identified in § 1232(b)(1) had been previously conferred on the Office by § 279. It does not show any congressional intent that the general limitation on detention authority to a period when immigration proceedings are pending would take precedence over the specific suitable custodian requirement.
Finally, the portion of § 1232(c)(3)(B) that requires the Office to conduct followup services for certain UACs “during the pendency of removal proceedings” likewise fails to overcome the presumption that the specific statutory provision controls the general one. Congress’s decision to limit mandatory follow-up services to the pendency of removal proceedings does not clearly show that Congress intended to similarly limit other statutory responsibilities, including the Office’s administration of the suitable custodian requirement. Indeed, it is entirely implausible that Congress would bury in a subparagraph concerned with follow-up services so significant a limitation on the Office’s authority. See Whitman v. Am. Trucking Ass’ns, 531 U.S. 457, 468, 121 S.Ct. 903, 149 L.Ed.2d 1 (2001) (observing that Congress does not “hide elephants in mouseholes”).13
*738b.
The broader statutory scheme governing UACs, as well as Congress’s purpose in enacting § 1232 of Title 8, reinforces our conclusion that the Office’s responsibility for the care, custody, and placement of UACs is not limited to the pendency of immigration proceedings. A contrary reading would undermine the web of statutory provisions designed to protect UACs.
Section 1232 of Title 8 addresses the treatment of UACs throughout the immigration process, from arrest to either legal status or repatriation. It requires all federal agencies to transfer to the Office custody of any child determined to be a UAC within seventy-two hours of that determination. See 8 U.S.C. § 1232(b)(2),' (3). The DHHS Secretary and the Office shoulder the responsibility for providing care to UACs in federal custody and for making appropriate placement determinations. See id. § 1232(b)(1), (c)(l)-(3). They are also charged with ensuring that UACs are appropriately represented in removal proceedings instituted by the DHS. See id. § 1232(c) (5)-(6).
Section 1232 also deals with the repatriation of UACs to their home countries. Paragraph (a)(1) directs the DHS Secretary, in conjunction with the DHHS Secretary, the Secretary of State, and the Attorney General, to “develop policies and procedures to ensure that [UACs] in the United States are safely repatriated to their country of nationality or of last habitual residence.” Subparagraph (a)(5)(A) obliges the Secretary of State, in conjunction with the Secretaries of DHS and DHHS, nongovernmental organizations, “and other national and international agencies and experts,” to create a pilot program “to develop and implement best practices to ensure the safe and sustainable repatriation and reintegration of [UACs] into their country of nationality or of last habitual residence.” Subparagraph (a)(5)(B) requires the DHS Secretary to consider the State Department’s Country Reports on Human Rights Practices, as well as the Trafficking in Persons Report, in determining whether to repatriate a UAC to a particular country. And subpar-agraph (a)(5)(C) mandates that the Secretary of State and the DHHS Secretary, with the assistance of the DHS Secretary, report to congressional committees “on efforts to improve repatriation programs for” UACs.14
The intricate web of statutory provisions relating to UACs reflects Congress’s unmistakable desire to protect that vulnerable group. The statutory heading of 8 U.S.C. § 1232 — “Enhancing efforts to combat the trafficking of children” — confirms that purpose. See United States v. *739Hatcher, 560 F.3d 222, 226 (4th Cir. 2009) (explaining that statutory heading or title may be considered in interpreting ambiguous statute).
Beltrán’s position concerning the statutory scheme, however, would deny the protection of those statutory provisions to an entire category of UACs: those who have received deferred action but not adjustment of status to lawful permanent resident. If her argument prevailed, the Office would be obliged to release such a UAC to a parent or legal guardian, even if the parent or legal guardian openly stated an intention to harm the child.
When a statute is subject to two contrary interpretations, we should adopt the one that “effectuates rather than frustrates the major purpose of the legislative draftsmen.” See Shapiro v. United States, 335 U.S. 1, 31, 68 S.Ct. 1375, 92 L.Ed. 1787 (1948). In our view, the government’s interpretation of the statutory scheme is entirely consistent with Congress’s purpose of protecting UACs from trafficking and exploitation. Beltrán’s preferred reading, by contrast, is at odds with that purpose.15
3.
Again, we require clear indications of contrary congressional intent to overcome the rule that the specific statutory provision controls the general one. See Crawford Fitting Co., 482 U.S. at 445, 107 S.Ct. 2494. Our examination of the text, context, history, structure, and purpose of the relevant statutory provisions reveals no clear intent of Congress that the general rule— that an alien must be released upon termination of his immigration proceedings— controls against the specific and categorical prohibition barring the release of a UAC to an unsuitable custodian. Moreover, a contrary reading would frustrate Congress’s primary purpose for enacting 8 U.S.C. § 1232' — protecting UACs from trafficking and exploitation — with respect to those UACs who have received deferred action. Accordingly, we are satisfied that, even after R.M.B.’s immigration proceedings concluded, the Office was not entitled to release him to anyone unless it first determined that the proposed custodian was capable of providing for his physical and mental well-being.
IV.
We turn now to Beltrán’s constitutional contentions, which we review de novo. See Darden v. Peters, 488 F.3d 277, 284 (4th Cir. 2007). Beltrán asserts that the Office’s continuing detention of R.M.B. contravenes the Fifth Amendment’s Due Process Clause. That Clause provides that no person shall be “deprived of life, liberty, or property, without due process of law.” See U.S. Const, amend. V. Like its Fourteenth Amendment counterpart, Fifth Amendment due process has both “substantive and procedural components.” See Snider Int’l Corp. v. Town of Forest Heights, Md., 739 F.3d 140, 145 (4th Cir. 2014); see also Martin v. St. Mary’s Dep’t of Soc. Servs., 346 F.3d 502, 511 (4th Cir. 2003) (explaining that due process “guarantees more than fair process and includes a substantive component that provides *740heightened protection against government interference with certain fundamental rights” (internal quotation marks omitted)). Beltrán maintains that the Office has contravened both components of due process. We address those contentions in turn.16
A.
We begin with Beltrán’s substantive due process claim. The substantive component of due process “bar[s] certain government actions regardless of the fairness of the procedures used to implement them.” See Daniels v. Williams, 474 U.S. 327, 331, 106 S.Ct. 662, 88 L.Ed.2d 662 (1986). We have characterized substantive due process as “far narrower in scope than procedural due process.” See Plyler v. Moore, 100 F.3d 365, 374 (4th Cir. 1996). As one of our sister circuits has explained, there are “two strands of the substantive due process doctrine.” See Seegmiller v. LaVerkin City, 528 F.3d 762, 767 (10th Cir. 2008). The first strand protects rights that are “fundamental,” whereas the second “protects against the exercise of governmental power that shocks the conscience.” Id.
In this appeal, Beltrán invokes only the fundamental rights strand of substantive due process. She contends that the Office’s refusal to release R.M.B. to her custody impermissibly interferes with his fundamental right to family integrity. Relying on the Supreme Court’s 1993 decision in Reno v. Flores, 507 U.S. 292, 113 S.Ct. 1439, 123 L.Ed.2d 1 (1993), the government responds that Beltrán has failed to identify any “fundamental liberty interest at issue in this case.” See Br. of Appel-lee 42.
The identification of those rights that implicate substantive due process “has not been reduced to any formula.” See Obergefell v. Hodges, — U.S. -, 135 S.Ct. 2584, 2598, 192 L.Ed.2d 609 (2015) (internal quotation marks omitted). At minimum, however, they include those “deeply rooted in this Nation’s history and tradition.” See Washington v. Glucksberg, 521 U.S. 702, 721, 117 S.Ct. 2258, 138 L.Ed.2d 772 (1997) (internal quotation marks omitted). This proceeding involves “perhaps the oldest of the fundamental liberty interests recognized by” the Supreme Court — “the interest of parents in the care, custody, and control of their children.” See Troxel v. Granville, 530 U.S. 57, 65, 120 S.Ct. 2054, 147 L.Ed.2d 49 (2000) (plurality opinion). We have agreed that “few rights” are “more fundamental in and to our society than those of parents to retain custody over and care for their children, and to rear their children as they deem appropriate.” See Jordan ex rel. Jordan v. Jackson, 15 F.3d 333, 342 (4th Cir. 1994). Just as parents possess a fundamental right with respect to their children, children also enjoy a “familial right to be raised and nurtured by their parents.” See Berman v. Young, 291 F.3d 976, 983 (7th Cir. 2002).
The fundamental right of a parent to control the upbringing of her child, however, is “neither absolute nor unqualified.” See Martin, 346 F.3d at 506. Rather, that right is “subject to the child’s interest in his personal health and safety and the state’s interest as parens patriae in protecting that interest.” See White ex rel. White v. Chambliss, 112 F.3d 731, 735 (4th Cir. 1997). On several occasions, we have *741upheld state policies designed to effectuate the parens patriae interest. See, e.g., White, 112 F.3d at 736; Jordan, 15 F.3d at 343-44.
In most situations — -such as in the White and Jordan cases — the constitutionality of state actions that interfere with family integrity depends on the adequacy of the procedures available to contest them. Nevertheless, the Supreme Court has recognized that certain intrusions into the parent-child relationship may be so flagrant as to be invalid even if a fair process is afforded. See Troxel, 530 U.S. at 67, 120 S.Ct. 2054 (sustaining fit parent’s substantive due process challenge to statute providing for mandatory third-party visitation with court approval); Pierce v. Soc’y of Sisters of Holy Names of Jesus & Mary, 268 U.S. 510, 45 S.Ct. 571, 69 L.Ed. 1070 (1925) (invalidating statute requiring children to attend public school through age sixteen); Meyer v. Nebraska, 262 U.S. 390, 43 S.Ct. 625, 67 L.Ed. 1042 (1923) (striking down prohibition on teaching languages other than English below ninth grade and teaching in other than English); see also Stanley v. Illinois, 405 U.S. 645, 92 S.Ct. 1208, 31 L.Ed.2d 551 (1972) (holding unconstitutional statutory scheme allowing children of unwed father to be declared dependent on state absent finding of unfitness). In each of those situations, however, the challenged statute allowed a state to override the decisions of fit parents — i.e., those considered capable of providing for their children’s needs. Conversely, when a state’s interference with parental control is predicated on a determination that the parent is unable to provide adequate care for a child, such interference does not contravene substantive due process, at least in the absence of governmental action that shocks the conscience. Cfi Troxel, 530 U.S. at 68, 120 S.Ct. 2054 (explaining that “there is a presumption that fit parents act in the best interests of their children” (emphasis added)).
In this situation, the Office has denied Beltran’s request that R.M.B. be released to her custody, deciding that Beltran is incapable of providing for R.M.B.’s physical and mental well-being. That determination suffices to address any substantive due process concerns, and it renders inap-posite those decisions involving challenges to state interference with control of children by fit parents. Accordingly, we reject Beltran’s substantive due process claim.
B.
We thus reach Beltran’s final contention: that R.M.B. has been denied his right to procedural due process. Beltran contends that the government has violated due process by failing to provide R.M.B. with a proper hearing before a judge or some other “impartial, competent adjudicator.” See Br. of Appellant 44-46. The government, on the other hand, responds that it has provided sufficient mechanisms for challenging the Office’s determination that Beltran is unable to provide for R.M.B.’s care and custody, which Beltran utilized.
1.
The procedural component of due process “imposes constraints on governmental decisions which deprive individuals of ‘liberty’ or ‘property’ interests within the meaning of the Due Process Clause.” See Mathews v. Eldridge, 424 U.S. 319, 332, 96 S.Ct. 893, 47 L.Ed.2d 18 (1976). The Office’s continuing detention of R.M.B. implicates protected liberty interests, and the government does not contend otherwise. And when the government deprives a person of a protected liberty or property interest, it is obliged to provide “notice and opportunity for hearing appropriate to the nature of the case.” See Mullane v. Cent. Hanover Bank & Tr. Co., 339 *742U.S. 306, 313, 70 S.Ct. 652, 94 L.Ed. 865 (1950).
Typically, a procedural due process issue is evaluated under the balancing standard that the Supreme Court articulated in 1976 in Mathews v. Eldridge. See Hamdi v. Rumsfeld, 542 U.S. 507, 529-30, 124 S.Ct. 2633, 159 L.Ed.2d 578 (2004) (plurality opinion) (explaining that Mathews provides “ordinary mechanism” to determine what process is due); Santosky v. Kramer, 455 U.S. 745, 754, 757, 102 S.Ct. 1388, 71 L.Ed.2d 599 (1982) (applying Mathews to determine standard of proof essential to termination of parental rights). The Mathews framework consists of three factors:
(1) the nature of the private interest that will be affected, (2) the comparative risk of an erroneous deprivation of that interest with and without additional or substitute procedural safeguards, and (3) the nature and magnitude of any countervailing interest in not providing additional or substitute procedural requirements.
See Turner v. Rogers, 564 U.S. 431, 444-45, 131 S.Ct. 2507, 180 L.Ed.2d 452 (2011) (alterations and internal quotation marks omitted).
2.
In denying Beltran’s procedural due process claim, the district court did not utilize the Mathews v. Eldridge framework. Indeed, neither of the parties advised the court of the potential applicability of the Mathews decision. In its Opinion, however, the court articulated other reasons for rejecting the procedural due process claim. Initially, the Opinion compared R.M.B.’s situation to those of the class of plaintiffs in Flores. The Opinion explained that, in Flores, the Supreme Court deemed the procedural due process claim of the alien children to be “merely the ‘substantive due process’ argument recast in procedural terms,” and ruled that procedural due process “was satisfied by giving the detained alien juveniles the right to a hearing before an immigration judge.” See D.B., 119 F.Supp.3d at 487 (citing Flores, 507 U.S. at 307-09, 113 S.Ct. 1439). The Opinion then determined that “R.M.B. was afforded the same right to a hearing before an immigration judge, where his immigration proceedings were terminated.” Id. Next, the Opinion invoked the rationale advanced by the government in this appeal: Because the Office had provided— and Beltran had utilized — procedures for seeking family reunification, those procedures “satisfiy] any constitutional scrutiny.” Id. at 488.
There are several material distinctions between this case and Flores, and we do not believe that Flores controls^ Beltran’s procedural due process claim. First, Bel-tran is seeking custody of her own son, whereas the alien children in Flores were seeking to be released to unrelated adults. Second, R.M.B. is being held at a juvenile detention center; the Flores children, by contrast, were in less secure facilities. See Flores, 507 U.S. at 298, 113 S.Ct. 1439 (explaining that alien children were not in correctional institutions but in facilities that- met state requirements for care of dependent children). Third, R.M.B. is not similarly situated to the Flores plaintiffs, in that no immigration proceedings are pending against him. Cf. Demore v. Kim, 538 U.S. 510, 523, 123 S.Ct. 1708, 155 L.Ed.2d 724 (2003) (observing that “detention during deportation proceedings [is] a constitutionally valid aspect of the deportation process”). Lastly, that R.M.B. was afforded a brief hearing before an immigration judge is irrelevant to the procedural due process claim, because the Office possesses the sole authority to order his release. Accordingly, we reject the district *743court’s conclusion that this claim fails under Flores.
We likewise reject the district court’s determination — endorsed by the government — that R.M.B. received sufficient process because Beltrán utilized the available family reunification request procedures. The mere availability and utilization of some procedures does not mean they were constitutionally sufficient. That is, the Fifth Amendment guarantees “due process of law,” not just “some process of law.” See Davidson v. City of New Orleans, 96 U.S. 97, 107, 24 L.Ed. 616 (1877) (Bradley, J., concurring).
Although we part company with the district court and the government on the procedural due process issue, we also reject Beltran’s contention that due process automatically required that R.M.B. be accorded a more substantial hearing prior to the Office rejecting the family reunification request. As the Supreme Court explained in 1972 in Morrissey v. Brewer, “due process is flexible and calls for such procedural protections as the particular situation demands.” See 408 U.S. 471, 481, 92 S.Ct. 2593, 33 L.Ed.2d 484 (1972). For example, the “hearing” required by the Due Process Clause need not be “an adversarial hearing, a full evi-dentiary hearing, or a formal hearing.” See Buckingham v. Sec’y of U.S. Dep’t of Ag., 603 F.3d 1073, 1082 (9th Cir. 2010) (citations and internal quotation marks omitted); see also Bowens v. N.C. Dep’t of Hum. Res., 710 F.2d 1015, 1020 (4th Cir. 1983) (“The judicial model of an evidentia-ry hearing is not a steadfast constitutional requirement.” (internal quotation marks omitted)). The basic requirements of notice and an opportunity to be heard demand only that the complaining party receive notice of the reasons for the deprivation, an explanation of the evidence against him, and “an opportunity to present his side of the story.” See Cleveland Bd. of Educ. v. Loudermill, 470 U.S. 532, 546, 105 S.Ct. 1487, 84 L.Ed.2d 494 (1985). Beyond those requirements, the need for procedural safeguards is ordinarily measured by the three-factor framework established in Mathews v. Eldridge.
3.
As we noted above, the Mathews v. Eldridge framework was not utilized in the district court. When a judgment has been predicated on an erroneous legal standard, the proper remedy “is usually to remand for a determination under the appropriate standard.” See Bauer v. Lynch, 812 F.3d 340, 352 (4th Cir. 2016) (internal quotation marks omitted). That remedy is warranted in this proceeding for several reasons. The three-factor Mathews framework is “flexible” and highly “fact-specific.” See Ciambriello v. Cty. of Nassau, 292 F.3d 307, 319 (2d Cir. 2002). Moreover, the parties have not yet addressed that standard and how it might impact this case. As a “court of review, not of first view,” we are ill-suited to apply the fact-specific Mathews framework in the first instance. See Lovelace v. Lee, 472 F.3d 174, 203 (4th Cir. 2006) (internal quotation marks omitted). We therefore vacate the judgment with respect to the procedural due process claim and remand for further proceedings.
V.
Pursuant to the foregoing, we affirm the judgment with respect to the statutory and substantive due process claims. On the procedural due process claim, however, we vacate and remand for such other and further proceedings as may be appropriate.
AFFIRMED IN PART, VACATED IN PART, AND REMANDED
. In its Opinion, the district court referred to Beltrán only by her initials, D.B., citing concerns about "the sensitive nature of the issues involved in this proceeding.” See D.B., 119 F.Supp.3d at 474 n. 1. Consistent with the complaint and notice of appeal, as well as the appellate briefs, we refer to Beltrán by name.
. Citations herein to “J.A.__and “J.A.S._" refer to the contents of the Joint Appendix and the Sealed Joint Appendix filed by the parties in this appeal.
. The Assistant Secretary for Children and Families supervises the Administration for Children and Families, which is an operating division of the DHHS. The Office, in turn, is within the Administration for Children and Families.
. Section 2243 of Title 28 establishes generally applicable procedures for habeas corpus proceedings. Under § 2243, a district court with jurisdiction over a habeas corpus petition "shall forthwith award the writ or issue an order directing the respondent to show cause why the writ should not be granted," unless the petition lacks merit on its face. The respondent "shall make a return certifying the true cause of the detention."
. Although the district court referred to making "findings of fact" as if on "summary judgment," it appears that the parties agreed to a proceeding more akin to a summary bench trial, as contemplated by 28 U.S.C. § 2243 ("The court shall summarily hear and *729determine the facts, and dispose of the matter as law and justice require.”). We view the Opinion and its factual recitation in that light, reviewing the facts recited therein for clear error and the legal rulings de novo. See Billings v. Polk, 441 F.3d 238, 243 (4th Cir. 2006).
. On September 3, 2015, while this appeal was pending, the government moved for leave to transfer R.M.B. from Virginia to a facility in California, pursuant to Rule 23 of the Federal Rules of Appellate Procedure. On September 23, 2015, over Beltrán's objection, we granted the government’s motion to transfer. R.M.B. thereafter was moved to California, where he is presently detained. In accordance with Rule 23(a), we have substituted R.M.B.’s current custodian, Brent Cardall, for Darryl Poston as the lead respondent in this appeal.
. The vast majority of federal habeas corpus proceedings are pursued under 28 U.S.C. § 2254 by state prisoners seeking post-conviction relief on the ground that their custody violates the Constitution or federal law. As one of our sister circuits has explained, § 2254 does not create an independent remedy apart from § 2241, but merely imposes "a limitation on the preexisting authority under § 2241(c)(3) to grant the writ of habeas corpus to state prisoners.” See Medberry v. Crosby, 351 F.3d 1049, 1060 (11th Cir. 2003). Federal prisoners, by contrast, are afforded a remedy separate and apart from habeas corpus under § 2241 — a motion, pursuant to 28 U.S.C. § 2255, to vacate, set aside, or correct a sentence. Although the § 2255 remedy is not considered a habeas corpus proceeding, see Medberry, 351 F.3d at 1057, the standards governing § 2255 motions are similar to those established in § 2254. A federal prisoner may seek habeas corpus relief pursuant to § 2241 only if "the remedy by [§ 2255] motion is inadequate or. ineffective to test the legality of his detention.” See 28 U.S.C. § 2255(e). Put succinctly, neither § 2254 nor § 2255 applies to this proceeding, because R.M.B. is neither in custody pursuant to a state court judgment nor serving a sentence imposed by a federal court.
. The Office recognizes its continuing obligations under the Flores Agreement. See Office of Refugee Resettlement, ORR Guide to Children Entering the United States Unaccompanied § 3.3 (2015), http://www.acf.hhs. gov/programs/orr/resource/children-entering-the-united-states-unaccompanied-section-3#3. 3 (outlining obligations imposed by Flores Agreement on Office’s care provider facilities).
. The Wilberforce Act makes reference to responsibilities being vested in the DHHS Secretary, whereas the HSA refers to responsibilities being vested in the Office, which is part of the DHHS. Neither Beltrán nor the govern-menl has suggested that this distinction has any impact on this appeal. As pertinent here, the term “DHHS Secretary” also means “the Office,” and vice versa.
. We need not address the propriety of the Border Patrol’s initial UAC determination with respect to R.M.B. The question before the district court — and now before US' — is whether R.M.B.'s current detention complies with federal statutes and the Constitution. Even if the Border Patrol incorrectly found R.M.B. to be a UAC, the Office's subsequent determination that Beltrán is not capable of providing for R.M.B.'s physical and mental well-being establishes her unavailability, and thus confirms R.M.B.’s present status as a UAC.
. By its terms, § 1226(a) of Title 8 lodges the power to detain aliens in the Attorney General, and not in either the Office or the DHS. The HSA, however, transferred alien detention functions from the INS, an agency of the Department of Justice, to the Office for UACs, and to the Under Secretary for Border and Transportation Security within the DHS for aliens who are not UACs. See 6 U.S.C. §§ 251(2), 279. Pursuant to the HSA's savings *736provisions, the reference to the Attorney General in § 1226(a) with respect to the detention function must be "deemed to refer” to the appropriate officials of those transferee agencies. See 6 U.S.C. §§ 279(e)(1), 552(d), 557.
. Beltrán contends that yet another canon of statutory construction — the presumption against implied repeals — requires us to read the suitable custodian requirement as limited by the existing restriction in 8 U.S.C. § 1226(a) on detention to the pendency of immigration proceedings. But the suitable custodian requirement did not repeal § 1226(a) by implication; it simply carved out an exception to its application. See Strawser v. Atkins, 290 F.3d 720, 733 (4th Cir. 2002) (rejecting repeal-by-implication argument where later statute "simply created a specific, discrete exception” to earlier one). Accordingly, we are satisfied that the presumption against implied repeals has no application in this matter.
. There is an additional reason that 8 U.S.C. § 1232(c)(3)(B) fails to illuminate congres*738sional intent to limit the Office’s authority over UACs to those involved in ongoing immigration proceedings. That is, in addition to mandating some follow-up services during the pendency of removal proceedings, § 1232(c)(3)(B) also authorizes (but does not require) follow-up services for UACs “with mental health or other needs who could benefit from ongoing assistance from a social welfare agency.” Notably, that authorization is not limited to the pendency of removal proceedings.
. Under § 1522 of Title 8, UACs who obtain affirmative relief in immigration proceedings, such as asylum or adjustment of status, are covered by another .program administered by the Office — the unaccompanied refugee minor (“URM”) program. Under the URM program, the Office seeks to arrange for the prompt and appropriate placement of unaccompanied refugee children pursuant to state law. See 8 U.S.C. § 1522(d)(2)(B). Until such placement is accomplished, the Office has the "legal responsibility" for a URM and may "make necessary decisions to provide for the [URM’s] immediate care.” Id. § 1522(d)(2)(B)(ii).
. Beltrán and the government each point to asserted legislative history supporting their separate positions. The post-enactment statements on which Beltrán relies, however, are "in no sense part of the legislative history” of 8 U.S.C. § 1232 and do not assist our interpretive endeavor. See United Air Lines, Inc, v. McMann, 434 U.S. 192, 200 n. 7, 98 S.Ct. 444, 54 L.Ed.2d 402 (1977), superseded by statute as stated in Gen. Dynamics Land Sys., Inc. v. Cline, 540 U.S. 581, 124 S.Ct. 1236, 157 L.Ed.2d 1094 (2004). Meanwhile, the government unhelpfully relies on generalized statements made on the Senate floor about a proposed bill that did not pass.
. It is appropriate to observe that “the Due Process Clause applies to all 'persons' within the United States, including aliens, whether their presence here is lawful, unlawful, temporary, or permanent.” See Zadvydas v. Davis, 533 U.S. 678, 693, 121 S.Ct. 2491, 150 L.Ed.2d 653 (2001).