Fix dialyzer warnings