Use HashSet instead of HashMap in ServiceBuilderImpl