Protection against service redeclaration