Only do formula class sanity checks once
Remove default values from formula constructor parameters