Add new document-activation-section directive for activable documents.
Code formatting + minor enhancement.