Fix GHC warnings.