Fix Heroku errors.