Fixed a couple compiler errors.