Links

Factorized document actions in a single file.
Added a feature for attaching hyperlinks.