Fixed minor warnings.