Fixed breakage caused by mistakes in the previous commit.