Fixed typos and type errors so things are working again.