Changed the way add service.