Core: rowClass getOrApply refactoring