Added a capture generator.