add labels-for-categories directive