Fixed suggestions by hlint.