Sure, go ahead, just not sure what do you mean by top level operation? As code in Harald's example was using client apis and not server side ones.
But beyond that it looks fine, we would probably just want to mark that operation as private so it won't show by default in CLI.