Fixed some of the compile errors.