Fix warnings in ServiceProxy