Add support for custom CSS class tokens via item.class attribute