Added renderRowClass() method.