Fix six dialyzer warnings