Removing duplicate service definition