Port to yesod 1.2