Consistent class vs module