Configuration of branch-2 doesn't have setDouble. Change to setFloat for
compatibility.