  @doc "Register a {{ trait_name }} plugin with a GenServer PID and name."
  @spec {{ func_name }}(pid(), String.t()) :: :ok | :error
  def {{ func_name }}(genserver_pid, plugin_name) do
    {{ native_mod }}.{{ func_name }}(genserver_pid, plugin_name)
  end
