[OnLoad], [OnInitialize], [OnLoadContent], [OnUnload] attributes available to the projectLifecycleMethods type with 4 methods named after said attributes, each of which invokes all methods annotated with the respective attribute (like OnLoad() invoking all [OnLoad] methods)<RootNamespace> to determine where the type should be generated, but i don't see an easy way to do this.