Get rid of unused partials.
Clean up graphs, add support for individual formulas.