Custom resource type registered in addon

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mrek

When I register my custom resource within my addon using:

add_custom_type("TestResource", "Resource", preload("res://addons/test_plugin/test_resource.gd"), preload("res://icon.png"))

The resource is showing up everywhere a resource is accepted, e.g. in the MeshInstance node under Mesh:

New ArrayMesh
New CapsuleMesh
....
New TestResource
------------------
Load

Is there a way to avoid this?