Fix some dialyzer issues