Only do formula class sanity checks once