Push all the junk I need down into the recursive functions.