Fix for Heroku compatibility.