Add dates field to classes