Clean up some derby code so the example only needs one input task.