EXP-160: Refactor extractors.

Refactor extractors so they can be configured on appropriate
lifecycle phases.