Do not srip directives out

Instead, mark them as processed.
Refactor configurators