Fix API dependency.