PR
#4324 revises all of Leo's directive-related code while attempting to maintain
complete compatibility with Leo's legacy code.
This is a complex PR. I have carefully reviewed every line off the diffs.
I'll merge the PR tomorrow unless you report problems. I'll treat any compatibility issue that may then arise as serious bugs that must be fixed immediately.
All your comments and questions are welcome.
Edward