Preparing switch case statement to render facets depending on their
class.