Fix Dialyzer warnings