New method for plugin, now you can get all the categories