Make it compile with new yesod-fay.

This is just random copying from yesod-fay.  Please review carefully :-)