Resolve some dialyzer warnings