Added SetCapture class