Fix generics brackets.