Framework for capture task.