Added class for demo of perfering hierachy class to taged class.