Fix some Dialyzer warnings.