Slimming down the Flask sample.