Add sampler object support