Export functions used by generated code yesodweb/yesod#609