Gets rid of deprecated app.configure() blocks.