Fixed some obvious errors.