Warnings and hlint cleanup