Fix dialyzer warnings (not all of them).