Fixed some compiler errors.