nl_tokens: Cleans up duplicate capability declarations that were generated during the prepare process
pl_tokens: function ensureUniqueCapabilities ( capabilities ) { var uniqueCapabilities = [ ] ; capabilities . getchildren ( ) . forEach ( function ( el ) { var name = el . attrib . Name ; if ( uniqueCapabilities . indexOf ( name ) !== - 1 ) { capabilities . <mask> ( el ) ; } else { uniqueCapabilities . push ( name ) ; } } ) ; }