This isn't necessary at all. You can just extract common parts of similar service definitions [...]