Add default getStyleClass() method to component.ftl.