Fix plugins and categories api