It's quite easy to create a new director via: CAAT.Foundation.Director().initialize(...). However, once a director has been created and added to the list of directors in the CAAT.director list, there is no straightforward way to remove a director. Sure, you can remove the director from the CAAT.director list, but that doesn't remove all the resources related to that directory, unregister the event handlers, etc.
It's quite easy to create a new director via: CAAT.Foundation.Director().initialize(...). However, once a director has been created and added to the list of directors in the CAAT.director list, there is no straightforward way to remove a director. Sure, you can remove the director from the CAAT.director list, but that doesn't remove all the resources related to that directory, unregister the event handlers, etc.