Revert "generate-config: make unsupported directive functionality available to other templates"

This reverts commit dc97039c6c26781aa5baf9fbd1db36fb73af868e.