Remove #capture directive.