Is there a better way to register custom components for use in Studio?

I take a look at code component and do not like the way of register a component. Is there a better way to use a custom widget in the studio?

Right now the only way to tell Plasmic about a custom component is through registerComponent()

It seems I am not the only one who dislike this feature.