Fix scope on category extension