Refactor into Example app.