Fixed compilation warnings and removed unused functions from Helpers.hs