Handle SampleSpec