Fixed GHC warnings.