Added validation of duplicate component service declarations.