Fix API breakage.