Remove code duplication related to notice scopes names