Fix warning problems.