An HTML document that is an extension must have the Extend declaration:
<extend>
Note that there are no blanks in this declaration; it can appear anywhere in a document, outside of a method call. Ideally, it is the first XC declaration in a file.