Implement source-capture.