Fix type error in last commit.