So I guess this is so vague that it could be `registerService` but that might be confusing.. maybe we should, instead of `$type` have `registerPathAction`, `registerPathProvider`, etc. Or maybe it doesn't matter.