Fixed several warnings.