Fixing complier warnings.