data.class and data.columns are actually undefined by default.