Extending asset type actions

Also, isn’t there the possibility that GetAssetTypeActionsForClass() returns the same object you’re currently executing in? Resulting in an infinite loop?