Fixed up code compilation warnings.