Fixed some egregious typing errors