Fix some ctrp annoyances with Haskell