Code for generating the default SNIRF structure