Extraction: make extraction optional

Refs #5894