This is kind of magic.. but on the other hand not that strange to simply change the first `/` and put the component name in between if the type has a separator..