Removes some compile warnings.