API refactoring and stubs for Spectra + Assay