Added methods to ShelfAgent for register and deregister of services.