Added a Typeable instance for SampleVar