Added a getName() method to Service and changed DummyService to implement it.