Some code needed by Heroku

It's not actually running on Heroku yet, but these are some things that
would need to exist anyway.