Fix dialyzer warnings.