yes, they are class attributes. Based on these we have a function in column that get the right templates. Not sure how you want to make this more generic.