removing deprecated ServiceListener.Inheritance