Deleted code not compatible with Heroku