Use static template tag for static assets.
Add needed <Document> element to KML output.
Version 1.0.2.