Expose category api
Improve tag category selection