yesod 1.2 compatibility