Split into spec_prep and spec_standalone to keep cache