Dialyzer and whitespace fixes