Removed compile warnings.