Revert "Workaround for issue when deploying to heroku."

This reverts commit 43941df7a603eff890adf95229d9142c1c9738e8.