Category for custom nodes

Hi

im creating custom nodes, but cant work out how to group them into sections in the side bar. All my nodes appear in the "function" section. how are these groups defined? thanks

Look at the top of your html file...

RED.nodes.registerType('yournodename',{
category: 'function',
...