Creating my own document type in Share (3.4)

I want to create my own type of document in the share environment.

Let start with adding it to the contentmodel.xml
……………..
<type name=”mjb:tnsDocument”>
<title>TNS Document</title>
<parent>cm:content</parent>
<mandatory-aspects>
<aspect>mjb:documentProperties</aspect>
<aspect>mjb:regionable</aspect>
<aspect>mjb:collectionable</aspect>
<aspect>cm:versionable</aspect>
</mandatory-aspects>
</type>
…………………….

Next, add it to the web-client-config-custom.xml
…………………….
<config evaluator=”string-compare” condition=”Content Wizards”>
<content-types>
<type name=”mjb:tnsDocument” display-label=”TNS Document” />
</content-types>
</config>
…..++…………………….
<config evaluator=”string-compare” condition=”Action Wizards”>
<aspects>
</aspects>
<subtypes>
<type name=”mjb:tnsDocument” />
<!– // Shown in is-subtype condition –>
</subtypes>
<specialise-types>
<type name=”mjb:tnsDocument” />
</specialise-types>
……….+++……………………….
<config evaluator=”node-type” condition=”mjb:tnsDocument”>
<property-sheet>
<separator name=”tnsDocument” display-label=”TNS Document” component-generator=”HeaderSeparatorGenerator” />
</property-sheet>
</config>
…………………………………