Removed type conversion warnings.