Fix service inheritance

Fix the support for having a service inherit from another service so it actually works.