Some changes on the dot class