You seemed to have ignored my comment regarding `if category_name not in self.plugins`. You do not need to fetch the keys list explicitly. Also, `.keys()` will generate an entirely new list (aka deep copy) of the keys before returning.